package com.gxa.modules.model.entity.fee;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 退款信息表
 * </p>
 *
 * @author gxa
 * @since 2022-11-12 11:12:58
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_refund_order_info")
@ApiModel(value = "RefundOrderInfo对象", description = "退款信息表")
public class RefundOrderInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("订单号，主键ID")
    @TableId(value = "order_id", type = IdType.AUTO)
    private String orderId;

    @ApiModelProperty("退款金额")
    @TableField("refund_amount")
    private Double refundAmount;


    @ApiModelProperty("卡内余额")
    @TableField("card_balance")
    private Double cardBalance;

    @ApiModelProperty("退款途径：0 微信，1 就诊卡")
    @TableField("refund_route")
    private Integer refundRoute;

    @ApiModelProperty("退款状态：0 已退款，1 未退款")
    @TableField("refund_status")
    private Integer refundStatus;

    @ApiModelProperty("退款时间")
    @TableField("refund_time")
    private Date refundTime;

    @ApiModelProperty("来源：0 微信小程序  ")
    @TableField("source")
    private Integer source;

    @ApiModelProperty("业务类型")
    @TableField("business_type")
    private Integer businessType;

    @ApiModelProperty("订单备注")
    @TableField("order_notes")
    private String orderNotes;

    @ApiModelProperty("删除：0 未删除，1 已删除")
    @TableField("is_delete")
    private Integer isDelete;


}
